<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<h:form>
		<article class="module width_full">
			<header>
				<h3>Saving Interest Rate</h3>
			</header>
			<div class="module_content">
				<fieldset style="width: 100%;">
					<p:dataTable styleClass="tablesorter"
						value="#{savingInterestManagedBean.savingInterestRates}" paginator="true" rows="5"
						var="i" filteredValue="#{savingInterestManagedBean.filteredSavingInterestRates}">
						<p:column filterBy="#{i.interestRateID}" sortBy="#{i.interestRateID}">
							<f:facet name="header">Interest Rate ID</f:facet>
							#{i.interestRateID}
						</p:column>
						<p:column filterBy="#{i.periodType.savingPeriodType}" sortBy="#{i.periodType.savingPeriodType}">
							<f:facet name="header">Period Type</f:facet>
							#{i.periodType.savingPeriodType}
						</p:column>
						<p:column filterBy="#{i.currency.currency}" sortBy="#{i.currency.currency}">
							<f:facet name="header">Currency</f:facet>
							#{i.currency.currency}
						</p:column>
						<p:column filterBy="#{i.rate}" sortBy="#{i.rate}">
							<f:facet name="header">Rate</f:facet>
							#{i.rate}
						</p:column>
						<p:column filterBy="#{i.createdDate}" sortBy="#{i.createdDate}">
							<f:facet name="header">Created Date</f:facet>
							#{i.createdDate}
						</p:column>
					</p:dataTable>
				</fieldset>
			</div>
		</article>
	</h:form>
</ui:composition>